package cc.rico.tutorial.bean;

import java.io.Serializable;

/**
 * Created by rico on 2018/8/20.
 */
public class ConnectionNode implements Serializable {
    private static final long serialVersionUID = 1413296146117639203L;

    private String url;
    private String username;
    private String password;

    public ConnectionNode() {
    }

    public ConnectionNode(String url, String username, String password) {
        this.url = url;
        this.username = username;
        this.password = password;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "ConnectionNode{" +
                "url='" + url + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
